package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;

@Service
public interface CheckGroupService {

   void add(CheckGroup checkGroup,Integer[] checkitemIds);

   PageResult findPage(QueryPageBean queryPageBean);

   CheckGroup findById(Integer id);

   List<Integer> findItemIdsByGroupId(Integer groupId);

   void update(Integer[] checkitemIds, CheckGroup checkGroup);

   List<CheckGroup> findAll();
}
